package com.qdxwx.data.service.member;

import com.qdxwx.common.page.PageRequest;
import com.qdxwx.models.member.MemberSale;

import java.util.List;


/**
 * MemberSale接口
 * Qdx NetSchool Platform
 * @author qdxwx
 * @updateTime 2022/5/25
 * @description
 */
public interface MemberSaleService {

    int update(MemberSale memberSale);

    MemberSale get(long id);

    int insert(MemberSale memberSale);

    int delete(String ids);

    List<MemberSale> getListByType(int type);

    List<MemberSale> getList(MemberSale memberSale, PageRequest page);

    long count(MemberSale memberSale);

    int updateStatusByTypeId(int id, int status);
}